package com.osc.exam.service.impl;

import com.osc.exam.dao.TestDao;
import com.osc.exam.entity.Test;
import com.osc.exam.service.ITestInterface;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName TestServiceImpl
 * @Description TODO
 * @Author pengfei
 * @Date 2021/6/23
 **/
@Service
public class TestServiceImpl implements ITestInterface {

    @Autowired
    TestDao testDao;

    @Override
    public List<Test> findAll() {
        return testDao.findAll();
    }
}
